package ooExercise.day04;

public class Pig extends Animal {
    public Pig(String name, int age, String color, String food) {
        super(name, age, color, food);
    }

    void eat() {
        System.out.println(color + "颜色的," + age + "岁的猪猪，名叫" + name + "正在吃" + food + ",它每天都在猪圈了");
    }
}
